<template>
  <div class="user-info">
    <span class="user-info-text">个人信息</span>
    <div class="user-info-content">
      content
    </div>
    <div class="button-group">
      <el-button  hidden="hidden" style="visibility: hidden">关闭</el-button>
      <el-button @click.stop="$emit('close')" type="danger">关闭</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name:"UserInfo",
  methods:{
  }
}
</script>

<style scoped>
.user-info{
  position: absolute;
  background: #F5F7FA;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  border-radius: 5px;
}

.user-info .button-group{
  width: 100%;
  display: flex;
  justify-content: space-around;
  margin-bottom: 15px;
}

.user-info .user-info-text{
  font-size: 24px;
  font-weight: bold;
}
</style>
